package com.lamthun.common.exception;

/**
 * 全局异常处理
 *
 * @author lamthun
 */
//@ControllerAdvice
public class GlobalExceptionHandler {
//    @ResponseBody
//    @ExceptionHandler(value = CommonException.class)
//    public SingleResponse handle(CommonException e) {
//        return SingleResponse.buildResponse(e.getErrorCode(), e.getErrorMessage());
//    }
}
